package com.chen.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Release {
    private Integer releaseId; //1发布id
    private Integer releaseCourtType; //1发布球场类型
    private String releaseCourtName; //发布球场名称     bbbbbbb
    private String releaseCourtSize; //1发布球场大小
    private Integer releaseCourtNumber; //1发布球场容纳人数
    private String releaseCourtTime; //1发布开放时间
    private String releaseCourtAddress; //1发布球场地址
    private String reserveVipNo; //1预约学号
    private String reserveVipName; //1预约姓名
    private String reserveVipGrade; //1预约年级
    private String reserveVipCollege; //1预约学院
    private String reserveVipMajor; //1预约专业
    private String reserveVipPhone; //1预约电话号码
    private String reserveMaterialName; //预约物资名称
    private Integer reserveMaterialCount; //预约物资数量
    private Date reserveUseStime; //预约使用开始时间
    private Date reserveUseEtime; //预约使用结束时间
    private Integer reserveState; //1预约状态
    @JsonFormat(pattern="yyyy-MM-dd", timezone="Europe/Zagreb")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date reserveTime; //预约时间
    private String reserveCourtTypeName; //预约球场类型名称

    public Release() {
    }

    public Release(Integer releaseId, Integer releaseCourtType, String releaseCourtName, String releaseCourtSize, Integer releaseCourtNumber, String releaseCourtTime, String releaseCourtAddress, String reserveVipNo, String reserveVipName, String reserveVipGrade, String reserveVipCollege, String reserveVipMajor, String reserveVipPhone, String reserveMaterialName, Integer reserveMaterialCount, Date reserveUseStime, Date reserveUseEtime, Integer reserveState, Date reserveTime, String reserveCourtTypeName) {
        this.releaseId = releaseId;
        this.releaseCourtType = releaseCourtType;
        this.releaseCourtName = releaseCourtName;
        this.releaseCourtSize = releaseCourtSize;
        this.releaseCourtNumber = releaseCourtNumber;
        this.releaseCourtTime = releaseCourtTime;
        this.releaseCourtAddress = releaseCourtAddress;
        this.reserveVipNo = reserveVipNo;
        this.reserveVipName = reserveVipName;
        this.reserveVipGrade = reserveVipGrade;
        this.reserveVipCollege = reserveVipCollege;
        this.reserveVipMajor = reserveVipMajor;
        this.reserveVipPhone = reserveVipPhone;
        this.reserveMaterialName = reserveMaterialName;
        this.reserveMaterialCount = reserveMaterialCount;
        this.reserveUseStime = reserveUseStime;
        this.reserveUseEtime = reserveUseEtime;
        this.reserveState = reserveState;
        this.reserveTime = reserveTime;
        this.reserveCourtTypeName = reserveCourtTypeName;
    }

    public Integer getReleaseId() {
        return releaseId;
    }

    public void setReleaseId(Integer releaseId) {
        this.releaseId = releaseId;
    }

    public Integer getReleaseCourtType() {
        return releaseCourtType;
    }

    public void setReleaseCourtType(Integer releaseCourtType) {
        this.releaseCourtType = releaseCourtType;
    }

    public String getReleaseCourtName() {
        return releaseCourtName;
    }

    public void setReleaseCourtName(String releaseCourtName) {
        this.releaseCourtName = releaseCourtName;
    }

    public String getReleaseCourtSize() {
        return releaseCourtSize;
    }

    public void setReleaseCourtSize(String releaseCourtSize) {
        this.releaseCourtSize = releaseCourtSize;
    }

    public Integer getReleaseCourtNumber() {
        return releaseCourtNumber;
    }

    public void setReleaseCourtNumber(Integer releaseCourtNumber) {
        this.releaseCourtNumber = releaseCourtNumber;
    }

    public String getReleaseCourtTime() {
        return releaseCourtTime;
    }

    public void setReleaseCourtTime(String releaseCourtTime) {
        this.releaseCourtTime = releaseCourtTime;
    }

    public String getReleaseCourtAddress() {
        return releaseCourtAddress;
    }

    public void setReleaseCourtAddress(String releaseCourtAddress) {
        this.releaseCourtAddress = releaseCourtAddress;
    }

    public String getReserveVipNo() {
        return reserveVipNo;
    }

    public void setReserveVipNo(String reserveVipNo) {
        this.reserveVipNo = reserveVipNo;
    }

    public String getReserveVipName() {
        return reserveVipName;
    }

    public void setReserveVipName(String reserveVipName) {
        this.reserveVipName = reserveVipName;
    }

    public String getReserveVipGrade() {
        return reserveVipGrade;
    }

    public void setReserveVipGrade(String reserveVipGrade) {
        this.reserveVipGrade = reserveVipGrade;
    }

    public String getReserveVipCollege() {
        return reserveVipCollege;
    }

    public void setReserveVipCollege(String reserveVipCollege) {
        this.reserveVipCollege = reserveVipCollege;
    }

    public String getReserveVipMajor() {
        return reserveVipMajor;
    }

    public void setReserveVipMajor(String reserveVipMajor) {
        this.reserveVipMajor = reserveVipMajor;
    }

    public String getReserveVipPhone() {
        return reserveVipPhone;
    }

    public void setReserveVipPhone(String reserveVipPhone) {
        this.reserveVipPhone = reserveVipPhone;
    }

    public String getReserveMaterialName() {
        return reserveMaterialName;
    }

    public void setReserveMaterialName(String reserveMaterialName) {
        this.reserveMaterialName = reserveMaterialName;
    }

    public Integer getReserveMaterialCount() {
        return reserveMaterialCount;
    }

    public void setReserveMaterialCount(Integer reserveMaterialCount) {
        this.reserveMaterialCount = reserveMaterialCount;
    }

    public Date getReserveUseStime() {
        return reserveUseStime;
    }

    public void setReserveUseStime(Date reserveUseStime) {
        this.reserveUseStime = reserveUseStime;
    }

    public Date getReserveUseEtime() {
        return reserveUseEtime;
    }

    public void setReserveUseEtime(Date reserveUseEtime) {
        this.reserveUseEtime = reserveUseEtime;
    }

    public Integer getReserveState() {
        return reserveState;
    }

    public void setReserveState(Integer reserveState) {
        this.reserveState = reserveState;
    }

    public Date getReserveTime() {
        return reserveTime;
    }

    public void setReserveTime(Date reserveTime) {
        this.reserveTime = reserveTime;
    }

    public String getReserveCourtTypeName() {
        return reserveCourtTypeName;
    }

    public void setReserveCourtTypeName(String reserveCourtTypeName) {
        this.reserveCourtTypeName = reserveCourtTypeName;
    }

    @Override
    public String toString() {
        return "Release{" +
                "releaseId=" + releaseId +
                ", releaseCourtType=" + releaseCourtType +
                ", releaseCourtName='" + releaseCourtName + '\'' +
                ", releaseCourtSize='" + releaseCourtSize + '\'' +
                ", releaseCourtNumber=" + releaseCourtNumber +
                ", releaseCourtTime='" + releaseCourtTime + '\'' +
                ", releaseCourtAddress='" + releaseCourtAddress + '\'' +
                ", reserveVipNo='" + reserveVipNo + '\'' +
                ", reserveVipName='" + reserveVipName + '\'' +
                ", reserveVipGrade='" + reserveVipGrade + '\'' +
                ", reserveVipCollege='" + reserveVipCollege + '\'' +
                ", reserveVipMajor='" + reserveVipMajor + '\'' +
                ", reserveVipPhone='" + reserveVipPhone + '\'' +
                ", reserveMaterialName='" + reserveMaterialName + '\'' +
                ", reserveMaterialCount=" + reserveMaterialCount +
                ", reserveUseStime=" + reserveUseStime +
                ", reserveUseEtime=" + reserveUseEtime +
                ", reserveState=" + reserveState +
                ", reserveTime=" + reserveTime +
                ", reserveCourtTypeName='" + reserveCourtTypeName + '\'' +
                '}';
    }
}
